<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymelesf.org.com">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

    <div th:each="item : ${map}">
        <li th:text="${item.key}"></li>
    </div>
    <div th:each="item : ${map}">
        <li th:text="${item.value}"></li>
    </div>
    <div th:each="item : ${map}">
        <li th:text="${item}"></li>
    </div>
</body>
</html>